package com.skyinno.mrms.station.service;

import java.util.Locale;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.skyinno.mrms.common.service.BaseService;
import com.skyinno.mrms.station.model.FileView;
import com.skyinno.mrms.station.model.MapStationType;
import com.skyinno.mrms.station.model.QueryView;
import com.skyinno.mrms.station.model.View;
import com.skyinno.mrms.utils.FrameException;

public interface StationTypeService extends BaseService {

	Map<String, Object> queryPage(QueryView view);
	
	String remove(String ids) throws FrameException;
	
	MapStationType checkMapStationType(String id) throws FrameException;
	
	String add(View view, Locale locale) throws FrameException;
	
	MapStationType createModel(View view, MapStationType model) throws FrameException;
	
	Map<String, Object> view(String id) throws FrameException;
	
	String modify(View view, Locale locale) throws FrameException;
	
	FileView stationTypeUploadIcon(MultipartFile file) throws Exception;
}
